

	<!-- 可变效果区 -->
	<div class="main ">

		<div class="row">
			<div class="col-lg-12">
				<h3 class="page-header"><i class="fa fa-indent"></i>管理员信息</h3>

			</div>
		</div>


        <div class="row">
			<div class="col-lg-12">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h2><i class="fa fa-table red"></i><span class="break"></span><strong>列表</strong></h2>
						<div class="panel-actions">
							<a href="table.html#" class="btn-setting"><i class="fa fa-rotate-right"></i></a>
							<a href="table.html#" class="btn-minimize"><i class="fa fa-chevron-up"></i></a>
							<a href="table.html#" class="btn-close"><i class="fa fa-times"></i></a>
						</div>
					</div>
					<div class="panel-body">
						<table class="table table-bordered table-striped table-condensed table-hover">
							  <thead>
								  <tr>
								     <th width="50">ID</th>
									 <th width="100">用户名</th>
									 <th width="100">姓名</th>
									 <th width="100">性别</th>
									 <th width="100">年龄</th>
									 <th width="100">联系电话</th>
									 <th width="100">地址</th>
									 <th width="100">职位</th>
									 <th width="100">在职状态</th>
									 <th width="100">添加时间</th>
									 <th width="100">操作</th>
								  </tr>
							  </thead>
							  <tbody>
							    <?php foreach($list as $k=>$v){

							    ?>
								<tr>
									<td height="35"><?php echo $v['id']?></td>

                                    <td><?php echo $v['username']?></td>
                                    <td><?php echo $v['name']?></td>

									<td><?php echo $v['sex']==1?'男':'女' ?></td>
									<td><?php echo $v['age']?></td>
									<td><?php echo $v['tel']?></td>
									<td><?php echo mb_substr($v['address'],0,15,'utf-8').'…';?></td>
									<td><?php echo $v['role_name']?></td>
									<td><?php echo $v['status']==1?'在职':'离职'?></td>
									<td><?php echo $v['create_time']?></td>
									<td>
										<a href="index.php?c=admin&a=edit&admin=1&id=<?php echo $v['id']?>" title="编辑" class="btn btn-info">
											<i class="fa fa-edit "></i>
										</a>
										<a href="index.php?c=admin&a=modify_the_password&admin=1&id=<?php echo $v['id']?>" title="修改密码" class="btn btn-info">
											<i class="fa  fa-key "></i>
										</a>
										<a href="index.php?c=admin&a=del&admin=1&id=<?php echo $v['id']?>" onclick="return confirm('确定删除？')" title="删除" class="btn btn-danger">
											<i class="fa fa-trash-o "></i>
										</a>
								    </td>
								</tr>
								<?php }?>
							  </tbody>
						 </table>
						 <ul class="pagination">

							<?php echo $pages;?>


						  </ul>
					</div>
				</div>
			</div><!--/col-->
		</div><!--/row-->



	</div>
	<!-- end: Content -->
	<br><br><br>


